<%@ page import="DOMAIN.DelegatedItem" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %>

<html>
<head>
<title>Liste des t&acirc;ches d&eacute;l&eacute;gu&eacute;es</title>
 <link rel="stylesheet" href="style.css">
</head>
<body>	

<div id="topNav" >
<%@ include file="menu.jsp" %>	
</div>
<div id="content"  >
	<h2 ><span>Liste des t&acirc;ches </span>d&eacute;l&eacute;gu&eacute;es</h2>
    <div id="leftContent">
    
<ul>

	<% 
		List<DelegatedItem> list =  ((List<DelegatedItem>)request.getAttribute("DelegatedItems"));
		for(DelegatedItem t :list)
		{
		%>
		<li><a href="DetailDelegatedItem?id=<%= t.GetId() %>"><%= t.GetTitle()%></a></li>
		<%
		}

		
	 %>
</ul>	
	 </div>
    <div id="rightContent">
    <h3>Action</h3>    
    <p>
    <ul><li><a href="AddDelegatedItem" >Ajouter une t&acirc;che</a></li>
    <%@ include file="Listes.jsp" %>
    </ul>
    </p>
    </div>	
	
	

</body>
</html>